/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package kotionokyurievna.gmail.com.copycol.logic;

import java.util.ArrayList;
import java.util.Collection;

/**
 *
 * @author Kateryna_Reznik
 */
public class MainCopyCollection {
    public static void main( String args[] ){
        CopierClass<String> copier = new CopierClass<>();
        Collection<String> stringCollection = new ArrayList<>();
        String array[] = new String[]{" Mama", " myla", " ramu", ",", " rama", " griaznaya", " byla"};
        copier.fromArrayToCollection(array, stringCollection);
        
        System.out.println("Array \n" + array);
        System.out.println("Collection \n" + stringCollection);
    }
}
